package com.apartmentManage.dao;

import com.apartmentManage.entity.ApartmentTutor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.boot.autoconfigure.kafka.KafkaProperties;

import java.util.List;

@Mapper
public interface ApartmentTutorDao {
    /*根据条件查询*/
    ApartmentTutor getByRequirement(@Param("apartmentTutor") ApartmentTutor apartmentTutor);

    /*修改数据*/
    int updateByOldPassword(@Param("apartmentTutor") ApartmentTutor apartmentTutor);
}
